Feature · route-patterns
Route patterns
One layout serves a whole collection: describe the URL once and every entry gets its own page, no pages to create by hand.
Add a dynamic segment
cutoutonce one pass, holds
Cutout on a navy ground: a project's admin panel, Settings → Route patterns with the patterns table, dimmed behind the New route pattern sheet, which keeps the window's right edge in frame and runs off the bottom. The sheet is the admin's own builder: the five pattern templates, the field the segments collect in, the Preview line, Choose a template and Using Cassette. The pattern is one string segment; the cursor arrives on the slug template, a press, and a slug chip lands beside it so the preview resolves to yoursite.url/string/{slug}. One press is the whole idea. At card width the description is dropped and the crop lands under the pattern box.
views/components/visuals/route-patterns/c1.html
Static · three placements
General
Blogs
Collections
Settings
Website detailsMeta & SEOSitemapUsersVerified emailsFormsRedirectsRoute patternsCode injectionWebhooksRoute patterns
New pattern| Pattern | Template | |
|---|---|---|
| /journal/:slug | layouts/article.html | |
| /locations/:slug | layouts/location.html | |
| /work/:slug | layouts/case-study.html | |
| /ambassadors/:slug | layouts/ambassador.html | |
| /people/:slug | layouts/person.html |
New route pattern
Create a new route pattern for dynamic routing.
Hint: Use pattern templates below to create a new pattern.
Preview: yoursite.url/stringyoursite.url/string/{slug}
General
Blogs
Collections
Settings
Website detailsMeta & SEOSitemapUsersVerified emailsFormsRedirectsRoute patternsCode injectionWebhooksRoute patterns
New pattern| Pattern | Template | |
|---|---|---|
| /journal/:slug | layouts/article.html | |
| /locations/:slug | layouts/location.html | |
| /work/:slug | layouts/case-study.html | |
| /ambassadors/:slug | layouts/ambassador.html | |
| /people/:slug | layouts/person.html |
New route pattern
Create a new route pattern for dynamic routing.
Hint: Use pattern templates below to create a new pattern.
Preview: yoursite.url/stringyoursite.url/string/{slug}
General
Blogs
Collections
Settings
Website detailsMeta & SEOSitemapUsersVerified emailsFormsRedirectsRoute patternsCode injectionWebhooksRoute patterns
New pattern| Pattern | Template | |
|---|---|---|
| /journal/:slug | layouts/article.html | |
| /locations/:slug | layouts/location.html | |
| /work/:slug | layouts/case-study.html | |
| /ambassadors/:slug | layouts/ambassador.html | |
| /people/:slug | layouts/person.html |
New route pattern
Create a new route pattern for dynamic routing.
Hint: Use pattern templates below to create a new pattern.
Preview: yoursite.url/stringyoursite.url/string/{slug}
Animated · once
General
Blogs
Collections
Settings
Website detailsMeta & SEOSitemapUsersVerified emailsFormsRedirectsRoute patternsCode injectionWebhooksRoute patterns
New pattern| Pattern | Template | |
|---|---|---|
| /journal/:slug | layouts/article.html | |
| /locations/:slug | layouts/location.html | |
| /work/:slug | layouts/case-study.html | |
| /ambassadors/:slug | layouts/ambassador.html | |
| /people/:slug | layouts/person.html |
New route pattern
Create a new route pattern for dynamic routing.
Hint: Use pattern templates below to create a new pattern.
Preview: yoursite.url/stringyoursite.url/string/{slug}
Overrides none — the file's own defaults